package com.lhsy.djcloud.service.impl;

import com.lhsy.djcloud.controller.vo.SearchVo;
import com.lhsy.djcloud.entity.Advice;
import com.lhsy.djcloud.mapper.AdviceMapper;
import com.lhsy.djcloud.service.AdviceService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 活动相关的表 服务实现类
 * </p>
 *
 * @author wangzw
 * @since 2020-11-05
 */
@Service
public class AdviceServiceImpl extends ServiceImpl<AdviceMapper, Advice> implements AdviceService {
    @Autowired
    private AdviceMapper adviceMapper;
    @Override
    public List<Advice> selectByModel(SearchVo searchVo) {
        return adviceMapper.selectByModel(searchVo);
    }
}
